package dxunderground.winampController.Client;

import java.io.File;
import java.util.ArrayList;

public class Playlist {
	private ArrayList<File> songs = new ArrayList<File>();
	private Client client;

	public void setClient(Client client) {
		this.client = client;
	}

	void add(File song) {
		songs.add(song);
	}

	public ArrayList<File> getSongs() {
		return this.songs;
	}

	public void addSong(String song) {
		this.client.add(song);
	}

	public void prevSong(String action) {
		this.client.action(action);
	}

	public void playPauseSong(String action) {
		this.client.action(action);
	}

	public void stopSong(String action) {
		this.client.action(action);
	}

	public void nextSong(String action) {
		this.client.action(action);
	}

	public void quit() {
		this.client.quit();
	}
}
